package service.exception;

public class EmploymentException extends Exception {

    /**
     * 
     */
    private static final long serialVersionUID = -1895272565871642815L;

    public enum CODE {
        UNKNOWN;
    }

    public EmploymentException(CODE code) {
        super(code.toString());
        this.mCode = code;
    }

    public EmploymentException(CODE code, Exception e) {
        super(e);
        this.mCode = code;
    }

    public CODE mCode;

    public CODE getmCode() {
        return mCode;
    }

    public void setmCode(CODE mCode) {
        this.mCode = mCode;
    }

}
